{\rtf1\ansi \deff1{\fonttbl{\f1\fmodern\fprq1\fcharset0 Consolas;}}{\colortbl;\red238\green238\blue238;\red00\green00\blue00;\red166\green133\blue00;\red128\green00\blue128;\red242\green121\blue00;\red255\green128\blue00;\red255\green00\blue255;\red00\green128\blue192;\red00\green00\blue255;\red48\green48\blue48;\red255\green00\blue128;\red158\green93\blue255;\red255\green00\blue00;\red255\green00\blue00;\red187\green121\blue119;\red128\green128\blue192;\red00\green68\blue102;\red13\green195\blue117;\red13\green182\blue195;}
\paperw11905\paperh16837\margl1134\margr1134\margt1134\margb1134\sectd\plain\f1\fs20
\pard \cbpat1{{\cf2{}}{\cf10{{0}{1} }}{\cf2{\u65279?}}{\cf5{//\u32534?\u20889?\u12032?\u20010?C++\u20989?\u25968? int countVowels(const char* p) \u65292?\u12132?\u20110?\u32479?\u35745?\u23383?\u31526?\u20018?\u20013?\u20803?\u12211?\u23383?\u11935?\u65288? a, e, i, o, u \u65289?\u30340?\u20010?\u25968?\u12290?}}}\par\pard
\cbpat1{{\cf10{{0}{2} }}{\cf2{}}{\cf6{/*{1}. \u20351?\u12132?\u25351?\u21521?\u24120?\u37327?\u30340?\u25351?\u38024? const char* \u36941?\u21382?\u23383?\u31526?\u20018?\u65307?}}}\par\pard
\cbpat1{{\cf10{{0}{3} }}{\cf6{{2}. \u22312?\u20027?\u20989?\u25968?\u20013?\u36755?\u12042?\u12032?\u12175?\u23383?\u31526?\u20018?\u65292?\u35843?\u12132?\u20989?\u25968?\u24182?\u36755?\u20986?\u32467?\u26524?*/}}{\cf2{}}}\par\pard
\cbpat1{{\cf10{{0}{4} }}{\cf2{}}{\cf8{\b #include<iostream>\b0 }}}\par\pard
\cbpat1{{\cf10{{0}{5} }}{\cf2{}}{\cf8{\b #include <cstring>\b0 }}}\par\pard
\cbpat1{{\cf10{{0}{6} }}{\cf2{}}{\cf15{\b using namespace\b0 }} {\cf2{std}}{\cf11{\b ;\b0 }}}\par\pard
\cbpat1{{\cf10{{0}{7} }}{\cf2{}}}\par\pard
\cbpat1{{\cf10{{0}{8} }}{\cf2{}}{\cf16{\b int\b0 }} {\cf2{}}{\cf17{countVowels}}{\cf2{}}{\cf11{\b (\b0 }}{\cf2{}}{\cf16{\b const char\b0 }}{\cf2{}}{\cf11{\b *\b0 }} {\cf2{p}}{\cf11{\b )\b0 }}}\par\pard
\cbpat1{{\cf10{{0}{9} }}{\cf2{}}{\cf11{\b \{\b0 }}}\par\pard
\cbpat1{{\cf10{{1}{0} }}{\cf2{}}    {\cf16{\b int\b0 }} {\cf2{count}} {\cf11{\b =\b0 }} {\cf2{}}{\cf4{\b {0}\b0 }}{\cf2{}}{\cf11{\b ;\b0 }}}\par\pard
\cbpat1{{\cf10{{1}{1} }}{\cf2{}}    {\cf15{\b while\b0 }} {\cf2{}}{\cf11{\b (*\b0 }}{\cf2{p}} {\cf11{\b !=\b0 }} {\cf2{}}{\cf3{'\\{0}'}}{\cf2{}}{\cf11{\b )\b0 }}}\par\pard
\cbpat1{{\cf10{{1}{2} }}{\cf2{}}        {\cf11{\b \{\b0 }}}\par\pard
\cbpat1{{\cf10{{1}{3} }}{\cf2{}}            {\cf15{\b if\b0 }} {\cf2{}}{\cf11{\b (*\b0 }}{\cf2{p}} {\cf11{\b ==\b0 }} {\cf2{}}{\cf3{'a'}}{\cf2{}} {\cf11{\b || *\b0 }}{\cf2{p}} {\cf11{\b ==\b0 }} {\cf2{}}{\cf3{'e'}}{\cf2{}} {\cf11{\b || *\b0 }}{\cf2{p}} {\cf11{\b ==\b0 }} {\cf2{}}{\cf3{'i'}}{\cf2{}} {\cf11{\b || *\b0 }}{\cf2{p}} {\cf11{\b ==\b0 }} {\cf2{}}{\cf3{'o'}}{\cf2{}} {\cf11{\b || *\b0 }}{\cf2{p}} {\cf11{\b ==\b0 }} {\cf2{}}{\cf3{'u'}}{\cf2{}}{\cf11{\b )\b0 }}}\par\pard
\cbpat1{{\cf10{{1}{4} }}{\cf2{}}                {\cf11{\b \{\b0 }}}\par\pard
\cbpat1{{\cf10{{1}{5} }}{\cf2{                    count}}{\cf11{\b ++;\b0 }}}\par\pard
\cbpat1{{\cf10{{1}{6} }}{\cf2{}}                {\cf11{\b \}\b0 }}}\par\pard
\cbpat1{{\cf10{{1}{7} }}{\cf2{            p}}{\cf11{\b ++;\b0 }}}\par\pard
\cbpat1{{\cf10{{1}{8} }}{\cf2{}}        {\cf11{\b \}\b0 }}}\par\pard
\cbpat1{{\cf10{{1}{9} }}{\cf2{}}    {\cf15{\b return\b0 }} {\cf2{count}}{\cf11{\b ;\b0 }}}\par\pard
\cbpat1{{\cf10{{2}{0} }}{\cf2{}}{\cf11{\b \}\b0 }}}\par\pard
\cbpat1{{\cf10{{2}{1} }}{\cf2{}}{\cf16{\b int\b0 }} {\cf2{}}{\cf17{main}}{\cf2{}}{\cf11{\b ()\b0 }}}\par\pard
\cbpat1{{\cf10{{2}{2} }}{\cf2{}}{\cf11{\b \{\b0 }}}\par\pard
\cbpat1{{\cf10{{2}{3} }}{\cf2{}}    {\cf16{\b char\b0 }} {\cf2{str}}{\cf11{\b [\b0 }}{\cf2{}}{\cf4{\b {1}{0}{0}\b0 }}{\cf2{}}{\cf11{\b ];\b0 }}}\par\pard
\cbpat1{{\cf10{{2}{4} }}{\cf2{    cin}}{\cf11{\b .\b0 }}{\cf2{}}{\cf17{getline}}{\cf2{}}{\cf11{\b (\b0 }}{\cf2{str}}{\cf11{\b ,\b0 }} {\cf2{}}{\cf4{\b {1}{0}{0}\b0 }}{\cf2{}}{\cf11{\b );\b0 }}}\par\pard
\cbpat1{{\cf10{{2}{5} }}{\cf2{}}    {\cf16{\b int\b0 }} {\cf2{vowelCount}} {\cf11{\b =\b0 }} {\cf2{}}{\cf17{countVowels}}{\cf2{}}{\cf11{\b (\b0 }}{\cf2{str}}{\cf11{\b );\b0 }}}\par\pard
\cbpat1{{\cf10{{2}{6} }}{\cf2{    cout}} {\cf11{\b <<\b0 }} {\cf2{}}{\cf3{"Number of vowels: "}}{\cf2{}} {\cf11{\b <<\b0 }} {\cf2{vowelCount}} {\cf11{\b <<\b0 }} {\cf2{endl}}{\cf11{\b ;\b0 }}}\par\pard
\cbpat1{{\cf10{{2}{7} }}{\cf2{}}    {\cf15{\b return\b0 }} {\cf2{}}{\cf4{\b {0}\b0 }}{\cf2{}}{\cf11{\b ;\b0 }}}\par\pard
\cbpat1{{\cf10{{2}{8} }}{\cf2{}}{\cf11{\b \}\b0 }}{\cf2{}}}\par\pard
\cbpat1{}}
